﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class SumUtils
    {
        private int a;
        private int b;
        private double c;
        private double d;
        private string e;
        private string f;
        private int g;

        public int A
        {
            get { return this.a; }
            set { this.a = value; }
        }
        public int B
        {
            get { return this.b; }
            set { this.b = value; }
        }
        public double C
        {
            get { return this.c; }
            set { this.c = value; }
        }
        public double D
        {
            get { return this.d; }
            set { this.d = value; }
        }
        public string E
        {
            get { return this.e; }
            set { this.e = value; }
        }
        public string F
        {
            get { return this.f; }
            set { this.f = value; }
        }
        public int G
        {
            get { return this.g; }
            set { this.g = value; }
        }

        public int AAA(int a, int b)
        {
            return this.a + this.b;
        }
        public double AAA(double c, double d)
        {
            return this.c + this.d;
        }
        public string AAA(string e, string f)
        {
            return this.e + this.f;
        }
        public int AAA(int g)
        {
            int sum = 0;
            for (int i = 1; i <= g; i++)
            {
                sum = sum + i;
            }
            return sum;
        }
    } }

